import request from '@/utils/request'

// 查询仓库店铺关联信息列表
export function listWarehouse_store(query) {
  return request({
    url: '/system/warehouse_store/list',
    method: 'get',
    params: query
  })
}

// 查询仓库店铺关联信息详细
export function getWarehouse_store(warehouseStoreId) {
  return request({
    url: '/system/warehouse_store/' + warehouseStoreId,
    method: 'get'
  })
}

// 新增仓库店铺关联信息
export function addWarehouse_store(data) {
  return request({
    url: '/system/warehouse_store',
    method: 'post',
    data: data
  })
}

// 修改仓库店铺关联信息
export function updateWarehouse_store(data) {
  return request({
    url: '/system/warehouse_store',
    method: 'put',
    data: data
  })
}

// 删除仓库店铺关联信息
export function delWarehouse_store(warehouseStoreId) {
  return request({
    url: '/system/warehouse_store/' + warehouseStoreId,
    method: 'delete'
  })
}
